package com.itjcloud.iot.gateway.model;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Setter
@Getter
@ConfigurationProperties(prefix = "jose")
public class JOSEProperties {

    private List<JWKProperties> keys;

    @Data
    public static class JWKProperties {
        private String keyId;
        private String secretKey;
        private AlgorithmEnum algorithm;
    }
}
